export default {

    // -------- 公共接口 --------
    // 获取选项
    OptionsList: '/common/common/options',

    // -------- 系统设置模块 --------
        adminLogin: '/config/admin/login',   // 用户登录
        adminLogout: '/config/admin/logout',  // 退出登录
        adminCaptcha: '/config/admin/captcha', // 图形验证码
        adminMenu: '/config/admin/get-menu', // 用户权限列表
        homeData: '/home/home/index', // 首页接口
        upload_img: '/common/upload/pic', // 图片上传
        // 权限用户管理
        adminList: '/config/admin/list', // 用户列表
        adminSave: '/config/admin/save', // 保存用户
        adminDel: '/config/admin/del', // 删除用户
        adminDetail: '/config/admin/detail', // 用户详情
        // 权限角色
        adminRoleList: '/config/admin-role/list', // 角色列表
        adminRoleSave: '/config/admin-role/save', // 保存角色
        adminRoleDel: '/config/admin-role/del', // 删除角色
        adminRoleDetail: '/config/admin-role/detail', // 角色详情
        adminRoleAuth: '/config/admin-role/auth', // 授权
        // 菜单管理
        adminMenuList: '/config/admin-menu/list', // 菜单列表
        adminMenuSave: '/config/admin-menu/save', // 保存菜单
        adminMenuDel: '/config/admin-menu/del', // 删除菜单
        adminMenuDetail: '/config/admin-menu/detail', // 菜单详情
        // 操作日志管理

        // // 配置管理
        SysConfigList: '/config/system-config/list',
        SysConfigSave: '/config/system-config/save',
        SysConfigDel: '/config/system-config/del',
        SysConfigDetail: '/config/system-config/detail',


    // -------- 商品模块 --------

        // 分类管理
        GoodsCateList: '/goods/cate/list', // 分类列表
        GoodsCateSave: '/goods/cate/save', // 保存分类
        GoodsCateDetail: '/goods/cate/detail', // 分类详情
        GoodsCateDel: '/goods/cate/del', // 删除分类
        // 商品管理
        GoodsList: '/goods/goods/list', // 商品列表
        GoodsSave: '/goods/goods/save', // 保存商品
        GoodsDetail: '/goods/goods/detail', // 商品详情
        GoodsDel: '/goods/goods/del', // 删除商品
        GoodsToggleState: '/goods/goods/toggle-state', // 上下架
        
    // -------- 会员模块 --------
        // 会员管理
        UserList: '/user/user/list',


    // -------- 电商模块 --------

        // 文档管理
        MallDocList: '/mall/mall-doc/list',
        MallDocDetail: '/mall/mall-doc/detail',
        MallDocSave: '/mall/mall-doc/save',
        MallDocDel: '/mall/mall-doc/del',
       
        // 轮播图管理管理
        MallBannerList: '/mall/mall-banner/list', 
        MallBannerSave: '/mall/mall-banner/save', 
        MallBannerDetail: '/mall/mall-banner/detail',
        MallBannerDel: '/mall/mall-banner/del', 

        // 页面配置管理
        MallPageList: '/mall/page/list',
        MallPageSave: '/mall/page/save',
        MallPageDel: '/mall/page/del',
        MallPageDetail: '/mall/page/detail',
        MallPageGoods: '/mall/page/page-goods',

    // -------- 营销模块 --------    

        // 促销活动
        ActivePromotionList: '/active/promotion/list',
        ActivePromotionSave: '/active/promotion/save',
        ActivePromotionDel: '/active/promotion/del',
        ActivePromotionDetail: '/active/promotion/detail',
        
        // 优惠券管理
        ActiveCouponList: '/active/coupon/list',
        ActiveCouponSave: '/active/coupon/save',
        ActiveCouponDetail: '/active/coupon/detail',
        ActiveCouponDel: '/active/coupon/del',
        // 优惠券组
        ActiveCouponLinkList: '/active/coupon-link/list',
        ActiveCouponLinkSave: '/active/coupon-link/save',
        ActiveCouponLinkDel: '/active/coupon-link/del',
        ActiveCouponLinkDetail: '/active/coupon-link/detail',

        // 优惠券领取记录
        ActiveCouponReceiveList: '/active/coupon-receive/list',
        ActiveCouponReceiveCancel: '/active/coupon-receive/cancel',

    // -------- 订单模块 --------  
    
        // 订单管理
        OrderList: '/order/order/list', 
        OrderDetail: '/order/order/detail', 
        OrderSend: '/order/order/send', // 发货
        OrderPrinter: '/order/order/order-printer',  // 退款申请
        OrderRefundList: '/order/order-refund/list', 
        OrderRefundDetail: '/order/order-refund/detail', 
        OrderRefundCheck: '/order/order-refund/check',  // 退款审核
        OrderRefundApply: '/order/order-refund/apply',  // 退款申请


    // ---------余额模块-----------
        RechargeRecordConfig: '/user/recharge/config',
        RechargeRecordConfigSave: '/user/recharge/config-save',
        RechargeRecordList: '/user/recharge/record',
        RechargeRecordRecharge: '/user/recharge/recharge',
        RechargeRechargeList: '/order/recharge/list',
        RechargeRechargeReview: '/order/recharge/review',
    
}
